
export const toPath = (path: string) => {
  uni.navigateTo({
    url: path
  })
}

export const back = () => {
  uni.navigateBack({
    delta: 1
  })
}
export const toTab = (path: string) => {
  uni.switchTab({
    url: path
  })
}